/*
 * Created on Jul 1, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.peterrussell.contractionTimer.view;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Item;

/**
 * @author peterr
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class About extends Form {

	Command contCommand;
	Command exitCommand;
	/**
	 * @param arg0
	 * @param arg1
	 */
	public About() {
		this("", new Item[0]);
	}
	
	public About(String arg0, Item[] arg1) {
		super("About Contraction Timer");
		append("Welcome to the Contraction Timer utility");
		append("Using this utility you can time both the length of the contractions and the intervals between them.");
		append("The system will then show recent times and averages (please note some devices with small screens may show only interval data. However thi does not change the method of operation.");
		append("How to use this software");
		append("Wait until a contraction starts and press the Start button.");
		append("When the contraction ends press the Stop button, this will store this time and the timer will switch to timing the interval.");
		append("When the next contraction starts, press the Stop button again, this will archive both the Contraction and INterval times and calculate and average.");
		append("Continue this process for the next contraction and so on, until you have sufficient data to make a decision.");
		append("This sounds more complex than it is - if this seems like hard work, you are going to have a shock when the baby arrives!");
		append("This software is intended to be used as a guide only");
		append("If you find this software useful, please visit http://www.peterrussell.org to make a donation, this will fund continued development of this software.");
		append("Press 'Continue' to start timing contractions");
        exitCommand = new Command("Exit", Command.EXIT, 1);
		contCommand = new Command("Continue", Command.ITEM, 2);
		setCommandListener(new AboutListener());
		addCommand(exitCommand);
		addCommand(contCommand);
	}


}
